<%@ page contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%	
	String path = "/projectv3/";
	String suffix = ".jsp";
	String ipage = 
		request.getParameter("ipage");
	if (ipage == null)
		ipage = path + "index" + suffix;
	else 
		ipage = path + ipage + suffix;
%>    
<!DOCTYPE html>
<html lang="ko">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<title>JSP 프로젝트 v1</title>
		<link type="text/css" href="css/layout.css"
			rel="stylesheet" />
		<style type="text/css">
		</style>
	</head>

	<body>
		<%@ include file="./layout/header.jspf" %>
		<jsp:include page = "<%=ipage %>" />
		<%@ include file="./layout/footer.jspf" %>
	</body>
</html>




